import { http } from '@/utils/axios/init'
// 获取报表模板列表
export function getReportTemplate(params) {
  return http.request({
    url: `/common/Rest/receiptTemplate/list`,
    method: 'get',
    params
  })
}
// 获取报表模板列表-项目配置
export function getProjectReport(params) {
  return http.request({
    url: `/ctms/Rest/projectReceipt/list`,
    method: 'get',
    params
  })
}
// 删除报表模板
export function delProjectReport(params) {
  return http.request(
    {
      url: `/ctms/Rest/projectReceipt/delete`,
      method: 'post',
      params
    },
    {
      successMessageText: '操作成功'
    }
  )
}
